Use this migration guide to update Kanzi applications from Kanzi 3.6.3 to Kanzi 3.6.4.
Node::setFont and Node::getFont to use the FontSharedPtr instead of the ResourceSharedPtr and removed the duplicate functions from the Text Block nodes.setFontMaterialResourceID and getFontMaterialResourceID functions to setFontMaterial and getFontMaterial.#include <kanzi/core.ui/error/legacy_error.hpp>
with
#include <kanzi/core/error/legacy_error.hpp>
Renderer member functions to Texture::CreateInfo and ShaderProgram::CreateInfo:validate to Texture::validate and ShaderProgram::validateadjust to Texture::adjustcreateSubstituteTexture to Texture::createSubstitutePatternChange your configuration files to match the change in the DLL export and import defines. The old values work, but are deprecated.
| In Kanzi 3.6.3 | In Kanzi 3.6.4 |
|---|---|
KANZI_COMPONENTS_API
|
Remove this define. |
KANZI_COMPONENTS_API=__declspec(dllimport)
|
KANZI_UI_API_IMPORT
|
KANZI_V8_API
|
Remove this define. |
KANZI_V8_API=__declspec(dllimport)
|
KANZI_VS_API_IMPORT
|
KANZI_API
|
Remove this define. |
KANZI_API=__declspec(dllimport)
|
KANZI_API_IMPORT
|
clearFocus() scripting function. A valid application must have a node with focus.